package com.ruoyi.client.mapper;

import com.ruoyi.client.domain.SysSell;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysSellMapper {
    List<SysSell> sysSellList(String symbol);

    void add(SysSell sysSell);

    SysSell selectSysSellById(Integer id);

    void updateHandsById(SysSell sysSell);

    SysSell selectSysSellBySymbolAndSellPrice(@Param("symbol") String symbol, @Param("sellPrice") String sellPrice);

    void updateHandsByIds(@Param("id") Integer id, @Param("hands") String hands);

    List<SysSell> sysSellListAll(String symbol);

}
